﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace kxcxw.Data.Entities
{
    /// <summary>
    /// 广告位申请
    /// </summary>
    public class AdApply
    {

        public string AdId { get; set; }

        [Required]
        [Display(Name = "广告位编号")]
        public string AdBlockId { get; set; }

        [Required]
        [Display(Name = "广告文本")]
        public string AltText { get; set; }

        [Required(ErrorMessage="请选择广告图片")]
        [Display(Name = "图片名")]
        public string ImgName { get; set; }

        [Required]
        [Display(Name = "链接地址")]
        public string Href { get; set; }

        [Required]
        [Display(Name = "有效天数")]
        public int EffectiveDays { get; set; }

        [Display(Name = "用户ID")]
        public string UserID { get; set; }

        [Required]
        [Display(Name = "申请人/单位")]
        public string ApplyerName { get; set; }

        [Required]
        [Display(Name = "联系电话")]
        public string Phone { get; set; }

        [Required]
        [Display(Name = "状态")]
        public int Status { get; set; }

        
        [Display(Name = "审批日期")]
        public System.DateTime ApprovalDate { get; set; }

        [Display(Name = "审批人")]
        public string ApprovalUser { get; set; }

        [Required]
        [Display(Name = "申请日期")]
        public System.DateTime CreateDate { get; set; }

        
    }//class
}
